package org.ceva.training.util.pageNavigator;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Random;

public class DisplayNavigator {
	private int totalRecords;
	private String rightLink;
	private int startRecord;
	private int endRecord;
	private String leftLink;
	private String pageNumberLink;
	private HashMap pageLinkHash;
	private String divBlock;
	private ArrayList pageLinksArray;
	private boolean displayNavigator;
	private int randNo;
	
	public DisplayNavigator() {
		super();
		Random random = new Random();
		this.setRandNo(random.nextInt());
    }
	
	public int getRandNo() {
		return randNo;
	}
	public void setRandNo(int randNo) {
		this.randNo = randNo;
	}
	public int getEndRecord() {
		return endRecord;
	}
	public boolean getDisplayNavigator() {
		return displayNavigator;
	}
	public void setDisplayNavigator(boolean displayNavigator) {
		this.displayNavigator = displayNavigator;
	}
	public void setEndRecord(int endRecord) {
		this.endRecord = endRecord;
	}
	public String getLeftLink() {
		return leftLink;
	}
	public void setLeftLink(String leftLink) {
		this.leftLink = leftLink;
	}
	public String getPageNumberLink() {
		return pageNumberLink;
	}
	public void setPageNumberLink(String pageNumberLink) {
		this.pageNumberLink = pageNumberLink;
	}
	public String getRightLink() {
		return rightLink;
	}
	public void setRightLink(String rightLink) {
		this.rightLink = rightLink;
	}
	public int getStartRecord() {
		return startRecord;
	}
	public void setStartRecord(int startRecord) {
		this.startRecord = startRecord;
	}
	public int getTotalRecords() {
		return totalRecords;
	}
	public void setTotalRecords(int totalRecords) {
		this.totalRecords = totalRecords;
	}
	public HashMap getPageLinkHash() {
		return pageLinkHash;
	}
	public void setPageLinkHash(HashMap pageLinkHash) {
		this.pageLinkHash = pageLinkHash;
	}
	public String getDivBlock() {
		return divBlock;
	}
	public void setDivBlock(String divBlock) {
		this.divBlock = divBlock;
	}
	public ArrayList getPageLinksArray() {
		return pageLinksArray;
	}
	public void setPageLinksArray(ArrayList pageLinksArray) {
		this.pageLinksArray = pageLinksArray;
	}
	
}
